<B:UIWFN x:Class="WPFExcelReport.TNWFAPP"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:B="clr-namespace:WPFExcelReport;assembly=TICC_WFEVENTS" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"   
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT"    
                    xmlns:WD="clr-namespace:WPFExcelReport;assembly=TICC_WFEVENTDEF"  
                    xmlns:BOOK="clr-namespace:WPFExcelReport;assembly=TICC_WFSUBSCRIBER"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization" 
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <B:UIWFN.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>    
        <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:NOTConverter x:Key="not"/>
    </B:UIWFN.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition   Height="Auto" />
            <RowDefinition   Height="1*" />
            <RowDefinition   Height="Auto" />
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0"   Margin="0,0,-0.2,0">
            <WrapPanel IsEnabled="{Binding IsERL,ElementName=TV,Converter={StaticResource not}}">
                <TextBlock Text="{Binding Source={Localization:Translate Word=意见:}}"/>
                <ex:TXT72 Text="{Binding P1,Converter={StaticResource gb2312}}" Width="60"/>
                <Button   Click="ApproveCommand" Height="20" Margin="5,0,0,0" Width="24"  >
                    <Button.Background>
                        <ImageBrush  ImageSource="/ImagePackage;component/Images/button_ok.png" />
                    </Button.Background>
                </Button>
                <Button   Click="RejectCommand" Height="20" Margin="5,0,0,0" Width="24"  >
                    <Button.Background>
                        <ImageBrush  ImageSource="/ImagePackage;component/Images/redo.png" />
                    </Button.Background>
                </Button>
            </WrapPanel>
        </StackPanel> 
    </Grid>
</B:UIWFN>
